package com.koron.css2.newProjectCenter.impl;

import com.koron.css2.common.dto.AttachmentDto;
import com.koron.css2.common.service.AbstractExportExcel;
import com.koron.css2.serviceManage.bean.RequestBean;
import com.koron.css2.serviceManage.bean.UserInfoBean;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.ArrayList;

/**
 * 工程材料模板导出
 */
public class PjMaterialTemplateExport extends AbstractExportExcel {
    @Override
    public AttachmentDto getAttachment(SessionFactory factory, UserInfoBean userInfo, RequestBean req) {
        AttachmentDto attachment = new AttachmentDto();
        attachment.setBtlTemplate("PjMaterialExport.btl");
        attachment.setData(new ArrayList<>());
        attachment.setFilename("工程材料模板导出模板");
        attachment.setFileTemplate("PjMaterialExport.xlsx");
        attachment.setFileType("excel");
        return attachment;
    }
}
